#include "ELEngine.h"
#include "string-util.h"

void ELEngine::start()
{
	pc("start");
}

void ELEngine::work()
{
	psln("work");
}

void ELEngine::shutdown()
{
	pln("shutdown");
}

ELEngine::~ELEngine()
{
	pc("delete elengine");
}

void ELEngine::runTest()
{
	p("instance in runtest:");
	psln((ELEngine::getInstance()));
	ELEngine::getInstance()->start();
	ELEngine::getInstance()->work();
	ELEngine::getInstance()->shutdown();
	//ELEngine::getInstance()->free();
}
